package com.demo.biz.impl;

import java.lang.reflect.Proxy;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.demo.biz.UserBiz;
import com.demo.entity.User;


public class Test {
	public static void main(String[] args) {
	
		ApplicationContext context =new ClassPathXmlApplicationContext("applicationContext.xml");
		UserBiz userBiz=(UserBiz) context.getBean("userBiz");
		 userBiz.save(new User());
		 userBiz.quey();
	}
}
